<!DOCTYPE html>
<html lang="en">
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      xmlns:th="http://www.thymeleaf.org" layout:decorate="/admintpl/layout/layout">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>审批列表</title>
    <link rel="icon" href="../../images/icon.jpg" sizes="32x32">
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"></head>
<body>

<a th:if="${user.username} eq 'zhanzhu'" th:text="部署流程" th:href="@{/approval/deploy}"></a>
<a href="form.html" style="position: fixed;left: 1250px;top: 20px"><h3>面试申请</h3></a>
<!--<button type="button" class="btn btn-primary">部署流程</button>-->
<h1 style="position: fixed;left: 550px"><font size="10" face="隶书">我的待办事项</font></h1>
<table class="table table-condensed" style="width: 1000px;position: fixed;top: 100px;left: 200px;"border="1">
    <thead>
    <tr style="color: orange" align="right">
        <th>流程实例id</th>
        <th>流程名称</th>
        <th>发起人</th>
<!--        <th>审批状态</th>-->
        <th>操作</th>
    </tr>
    </thead>

    <tbody>
    <tr th:each="app:${list}">
        <td width="10%" align="center"th:text="${app.proinstId}"></td>
        <td width="10%" th:text="${app.flowNodeName}"></td>
        <td width="15%" th:text="${app.initiator}"></td>
<!--        <td width="15%" th:text="${app.name}"></td>-->
        <td  class="text-c" width="20%">
            <a th:if="${app.flowNodeName ne null}" th:text="审批" th:href="@{/approval/findFlowDetail(id=${app.id})}"></a>
<!--            <a th:href="@{/sys/apps/delCas(id=${app.id})}" th:onclick="|del()|">删除</a>-->
            <!-- <font color="#cccccc">编辑</font> | <font color="#cccccc">删除</font>		 -->
        </td>
    </tr>
    </tbody>
</table>

</body>
</html>